package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Role;

import java.util.List;
import java.util.Map;

public interface RoleSetingService {

    PageResult findPage(QueryPageBean pageBean);

    Map findAll();

    void add(Role role, Integer[] permissions, Integer[] menus);

    void edit(Role role, Integer[] permissions, Integer[] menus);

    void delete(int id);

    Map editecho(int id);
}
